/**
 * Created by wh010 on 2017/6/5.
 */
import yargs from 'yargs';

const args = yargs

    .option('production', {
        boolean: true,
        default: false,
        describe: 'min all scripts'
    })

    .option('watch',{
        boolean:true,
        deafult:false,
        describe:'watch all files'
    })

    .option('verbose',{
        boolean:true,
        default:false,
        describe:'log'
    })

    .option('sourcemaps',{
        describe:'force the creation of sroucemaps'
    })

    .option('port',{
        string:true,
        default:8080,
        describe:'server port'
    })

    .argv

export default args ;
